#include "stdafx.h"
#include "spring.h"

Spring::Spring( Body *pFrom, Body *pTo, float pSpringConstant, float pDampingConstant, float pRestLength )
{
    mFrom = pFrom;
    mTo   = pTo;

    mSpringConstant  = pSpringConstant;
    mDampingConstant = pDampingConstant;
    mRestLength      = pRestLength;
}

Spring::~Spring( void )
{
}